package com.siashan.unipay4j.wx.model;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * <p>V3 统一下单-单品列表</p>
 *
 * @author siashan
 * @since v2.0.1
 */
@Data
@Accessors(chain = true)
public class GoodsDetail {
    /**
     * 商户侧商品编码
     */
    @JSONField(name = "merchant_goods_id")
    private String merchantGoodsId;
    /**
     * 微信侧商品编码
     */
    @JSONField(name = "wechatpay_goods_id")
    private String wechatpayGoodsId;
    /**
     * 商品名称
     */
    @JSONField(name = "goods_name")
    private String goodsName;
    /**
     * 商品数量
     */
    private int quantity;
    /**
     * 商品单价
     */
    @JSONField(name = "unit_price")
    private int unitPrice;
}
